import './assets/main.css'

import {
    createApp
} from 'vue'
import App from './App.vue'

import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import AnimatedNumber from 'animated-number-vue3'
import router from '../router'


// 引入 mock 配置
// import './mock'

const app = createApp(App)
app.use(ElementPlus);
app.use(router);
app.use(AnimatedNumber);

app.mount('#app')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}